package com.meng.android.util;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class UIUtils {

	public static LayoutInflater inflater(Context context) {
		return (LayoutInflater) context
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
	}

	public View getView(LayoutInflater inflater, int resourceId,
			ViewGroup parent) {
		return inflater.inflate(resourceId, parent);
	}

}